import { get } from '@/utils/request'
import { type GetCateroiesResponse, type GetBuiltinToolsResponse } from '@/models/bulitin-tool'

export const getCateroies = () => get<GetCateroiesResponse>('/builtin-tool/categories')
export const getBuiltinTools = () => {
  return get<GetBuiltinToolsResponse>('/builtin-tools')
}
